﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid Margin="15" x:Name="mainGrid" Background="Black">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="220" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="5*" />
            <ColumnDefinition Width="5*" />
        </Grid.ColumnDefinitions>
        <TextBlock x:Name="labelLevel" Grid.Row="0" Grid.Column="0" FontSize="16" Text="{Binding Level}" Foreground="White" />
        <TextBlock x:Name="labelRecord" Grid.Row="0" Grid.Column="1" FontSize="16" Text="{Binding Record}" Foreground="White" />
        <TextBlock Grid.Row="1" Grid.ColumnSpan="2" FontSize="12" Text="Hold down SPACE key to go up" Foreground="Yellow" />
        <Canvas x:Name="gameCanvas" Margin="10" Grid.Row="2" Grid.ColumnSpan="2"  />
        <Button x:Name="buttonNewGame" Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" Width="80" HorizontalAlignment="Center" FontSize="12" Content="New Game" />
        <ContentPresenter Grid.Row="3" Grid.ColumnSpan="2" x:Name="highScorePresenter" />
    </Grid>
</UserControl>